Optimal. Leaf size=63 \[ -\frac{a+b \tanh ^{-1}(c+d x)}{2 d e^3 (c+d x)^2}-\frac{b}{2 d e^3 (c+d x)}+\frac{b \tanh ^{-1}(c+d x)}{2 d e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.048815, antiderivative size = 63, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.238, Rules used = {6107, 12, 5916, 325, 206} \[ -\frac{a+b \tanh ^{-1}(c+d x)}{2 d e^3 (c+d x)^2}-\frac{b}{2 d e^3 (c+d x)}+\frac{b \tanh ^{-1}(c+d x)}{2 d e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6107
Rule 12
Rule 5916
Rule 325
Rule 206
Rubi steps
\begin{align*} \int \frac{a+b \tanh ^{-1}(c+d x)}{(c e+d e x)^3} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a+b \tanh ^{-1}(x)}{e^3 x^3} \, dx,x,c+d x\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{a+b \tanh ^{-1}(x)}{x^3} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac{a+b \tanh ^{-1}(c+d x)}{2 d e^3 (c+d x)^2}+\frac{b \operatorname{Subst}\left (\int \frac{1}{x^2 \left (1-x^2\right )} \, dx,x,c+d x\right )}{2 d e^3}\\ &=-\frac{b}{2 d e^3 (c+d x)}-\frac{a+b \tanh ^{-1}(c+d x)}{2 d e^3 (c+d x)^2}+\frac{b \operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,c+d x\right )}{2 d e^3}\\ &=-\frac{b}{2 d e^3 (c+d x)}+\frac{b \tanh ^{-1}(c+d x)}{2 d e^3}-\frac{a+b \tanh ^{-1}(c+d x)}{2 d e^3 (c+d x)^2}\\ \end{align*}
Mathematica [A] time = 0.0557101, size = 100, normalized size = 1.59 \[ -\frac{a}{2 d e^3 (c+d x)^2}-\frac{b}{2 d e^3 (c+d x)}-\frac{b \log (-c-d x+1)}{4 d e^3}+\frac{b \log (c+d x+1)}{4 d e^3}-\frac{b \tanh ^{-1}(c+d x)}{2 d e^3 (c+d x)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.04, size = 88, normalized size = 1.4 \begin{align*} -{\frac{a}{2\,d{e}^{3} \left ( dx+c \right ) ^{2}}}-{\frac{b{\it Artanh} \left ( dx+c \right ) }{2\,d{e}^{3} \left ( dx+c \right ) ^{2}}}-{\frac{b}{2\,d{e}^{3} \left ( dx+c \right ) }}-{\frac{b\ln \left ( dx+c-1 \right ) }{4\,d{e}^{3}}}+{\frac{b\ln \left ( dx+c+1 \right ) }{4\,d{e}^{3}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.9821, size = 177, normalized size = 2.81 \begin{align*} -\frac{1}{4} \,{\left (d{\left (\frac{2}{d^{3} e^{3} x + c d^{2} e^{3}} - \frac{\log \left (d x + c + 1\right )}{d^{2} e^{3}} + \frac{\log \left (d x + c - 1\right )}{d^{2} e^{3}}\right )} + \frac{2 \, \operatorname{artanh}\left (d x + c\right )}{d^{3} e^{3} x^{2} + 2 \, c d^{2} e^{3} x + c^{2} d e^{3}}\right )} b - \frac{a}{2 \,{\left (d^{3} e^{3} x^{2} + 2 \, c d^{2} e^{3} x + c^{2} d e^{3}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.2796, size = 194, normalized size = 3.08 \begin{align*} -\frac{2 \, b d x + 2 \, b c -{\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2} - b\right )} \log \left (-\frac{d x + c + 1}{d x + c - 1}\right ) + 2 \, a}{4 \,{\left (d^{3} e^{3} x^{2} + 2 \, c d^{2} e^{3} x + c^{2} d e^{3}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.22598, size = 196, normalized size = 3.11 \begin{align*} \frac{b d^{2} x^{2} \log \left (d x + c + 1\right ) - b d^{2} x^{2} \log \left (d x + c - 1\right ) + 2 \, b c d x \log \left (d x + c + 1\right ) - 2 \, b c d x \log \left (d x + c - 1\right ) + b c^{2} \log \left (d x + c + 1\right ) - b c^{2} \log \left (d x + c - 1\right ) - 2 \, b d x - 2 \, b c - b \log \left (-\frac{d x + c + 1}{d x + c - 1}\right ) - 2 \, a}{4 \,{\left (d^{3} x^{2} e^{3} + 2 \, c d^{2} x e^{3} + c^{2} d e^{3}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]